<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of PostController
 *
 * @author sherifmedhat
 */
class PostController extends CController {

    public function actionCreate($category, $language='en') {
        $category = (int) $category;
        echo"eshta";
        // ... fun code starts here ...
    }

    public function actionIndex(){
        echo "eshta";
    }
    public function filters() {
        return array(
            'postOnly + edit, create',
            array(
                'application.filters.PerformanceFilter - edit, create',
              
            ),
        );
    }

}

?>
